gl renderer: Fix only_translation check
authorTimm Bäder <mail@baedert.org>
Thu, 29 Nov 2018 14:39:14 +0000 (15:39 +0100)
committerTimm Bäder <mail@baedert.org>
Sun, 2 Dec 2018 12:25:43 +0000 (13:25 +0100)
gsk/gl/gskglrenderops.c

index 85026d8e63c6e923f51379c7794e149caafdab5b..21dbb590293477bd2ac5383a9f0184fd509f8915 100644 (file)
@@ -83,7 +83,7 @@ extract_matrix_metadata (const graphene_matrix_t *m,
   }
 
 out:
-  md->only_translation = (md->simple && md->scale_x == 0 && md->scale_y == 0);
+  md->only_translation = (md->simple && md->scale_x == 1 && md->scale_y == 1);
 }